ocaml-mingw-w64-i686 software package provides OCaml cross-compiler based on mingw -- 32 bit compiler, you can install in your Ubuntu 14.04 LTS (Trusty Tahr) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install ocaml-mingw-w64-i686
ocaml-mingw-w64-i686 is installed in your system.
Make ensure the ocaml-mingw-w64-i686 package were installed using the commands given below,
$ sudo dpkg-query -l | grep ocaml-mingw-w64-i686 *
You will get with ocaml-mingw-w64-i686 package name, version, architecture and description in a table
| Distro | Ubuntu 14 04 lts trusty tahr |
| Section | Ocaml |
| Package | ocaml-mingw-w64-i686 |
| Version | 4.00.1~20130426-3ubuntu2 |
| Description | OCaml cross-compiler based on mingw -- 32 bit compiler |
| Sub Section | Ocaml |